.home-main{
    position: relative;
    height: calc(100vh - var(--header-height));
    width: 100vw;
    display: flex;
    justify-content: center;
    background-color: var(--background-color);

    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-color: rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
}
.home-main-context{
    width: 1280px;
}

.home-nav-container{
    position: absolute;
    left: 0;
    width: 100vw;
    height: 40px;
    background-color: var(--header-background-color);
    box-shadow: 0 1px 1px var(--header-shadow);
}
.home-nav{
    position: relative;
    margin-left: 13%;
    z-index: 30;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}
.home-nav-menu{
    position: relative;
    z-index: 10;
    padding: 8px 14px;
    cursor: pointer;
    color: rgb(113,119,124);
    user-select: none;
}
.home-nav-menu:hover{
    background-color: var(--header-shadow); 
}
.home-nav-menu:hover>.menu-item-container{
    display: flex;
}
.menu-item-container{
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    background-color: var(--header-background-color);
    border-radius: 2px;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,.15);
    flex-wrap: wrap;
    width: 300px;
    box-sizing: border-box;
    padding: 6px 6px;
    display: none;
    cursor:auto;
}
.home-nav-menu-item{
    border-radius: 20px;
    background-color: var(--background-color);
    margin: 4px 6px;
    padding: 0 8px;
    color:var(--tip-font-color);
    font-size: 14px;
    cursor: pointer;
}
.home-main-container{
    margin-top: 10px;
    /* height:calc(100vh - var(--header-height) - 50px); */
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    /* overflow: hidden; */
}
.article-list-container{
    width: 680px;
    margin-right: 20px;
    overflow: hidden;
}

.main-banner-right{
    float: right;
    width: 250px;
    /* height: 500px; */

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.main-banner-right>*{
    background-color: #fff;
    padding: 20px;
}

.article-list-filter{
    padding: 13px 15px;
    display: flex;
    color:var(--tip-font-color);
    font-size: 14px;
    font-weight: 400;
    background-color: #fff;
}
.article-list-filter span{
    margin: 0 12px;
    cursor: pointer;
    transition: color 0s .15s ;
}
.article-list-filter span:hover{
    color: var(--selected-font-color);
}
.article-list-filter div{
    border-left: var(--tip-font-color) solid 1px;
    box-sizing: border-box;
    width: 1px;
    margin: 5px 0px;
    opacity: .25;
}
.article-list{
    /* height: calc(100% - 60px); */
    height: auto;
    /* overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-color: rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05);
    scrollbar-width: thin; */
}
.article-detail-container{
    position: relative;
    margin-top: 2px;
    background-color:#fff;
    /* height: 150px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 30px;
    cursor: pointer;
}
.article-detail-container:hover{
    background-color: #fafafa;
}
.article-detail-create{
    display: flex;
    /* align-items: center; */
    color:var(--tip-font-color);
    font-size: 14px;
    font-weight: 400;
}
/* .article-detail-create span{
    transition: color 0s .15s ;
} */
.article-detail-create>span:nth-child(1):hover,.article-detail-create>span:nth-child(3):hover *{
    color: var(--selected-font-color);
}
.article-detail-create>div{
    border-left: var(--tip-font-color) solid 1px;
    box-sizing: border-box;
    width: 1px;
    margin: 5px 7px;
    opacity: .25;
}
.article-detail-title{
    padding: 10px 0;
}
.article-detail-title >*{
    margin: 0;
}
.article-detail-pre{
    color: var(--tip-font-color);
    font-size: 14px;
    margin-bottom: 6px;
    text-overflow:	ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
    /* max-height: 42px;
    line-height:20px;
    -webkit-line-clamp:2; */
}
.aritcle-detail-add{
    width: 100%;
    color: var(--tip-font-color);
    font-size: 14px;
    display: flex;
}
.aritcle-detail-add div{
    margin-right: 15px;
    display: flex;
    align-items: center;
}
.aritcle-detail-add img{
    max-width: 16px;
    max-height: 16px;
    width: auto;
    height: auto;
    margin-right: 5px;
}

.article-page-piece{
    background-color: #fff;
    padding: 30px;
    overflow: hidden;
    width: 680px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
.article-page-piece:nth-last-child(1){
    margin-bottom: 100px;
}
@media screen and (max-width:1280px) {
    /* .home-main-container{
        
    } */
    .article-list-container{
        width: 680px;
    }
    .article-page-piece{
        width: 100%;
    }
    .main-banner-right{
        display: none;
    }
}
@media screen and (max-width:1080px) {
    /* .article-page-piece{
        width: 100%;
    } */
    .article-list-container{
        width: 100vw;
    }
}
@media screen and (max-width:600px) {
    .home-nav{
        margin-left: 5vw;
    }

}

@media screen and (max-width:510px){
    .my-home-nav{
        flex-wrap: wrap;
    }
    .my-home-nav-container{
        height: 80px;
    }
}